import "tdesign-vue-next/es/style/index.css";
import "./assets/index.less";

import { createApp } from "vue";
import { createPinia } from "pinia";

import App from "./App.vue";
import router from "./router";
import piniaPluginPersistedstate from "pinia-plugin-persistedstate";

import GlobalTables from "@/components/Table/index";
import GlobalForms from "@/components/Form/index";

const app = createApp(App);

const pinia = createPinia();
pinia.use(piniaPluginPersistedstate);

app.use(pinia);
app.use(router);
app.use(GlobalTables);
app.use(GlobalForms);

app.mount("#app");
